var webpack = require('webpack');

module.exports = {
	entry: {
		app: './src/main.js',
		vendor: ['jquery'],
	},
	output: {
		filename: 'bundle.js'
	},
	plugins: [
			new webpack.optimize.CommonsChunkPlugin(/* chunkName= */'vendor', /* filename= */'vendor.js')
	]
};